serialize

fun SdJwt<SignedJWT>.serialize(): String(source)

Deprecated

Deprecated and will be removed

Replace with

 with(NimbusSdJwtOps) { serialize() }

fun <JWT> SdJwt<JWT>.serialize(serializeJwt: (JWT) -> String): String(source)

Deprecated

Deprecated and will be removed in a future release

Replace with

with(SdJwtSerializationOps<JWT>(serializeJwt, { error("Not Used") })) { serialize() }

Serializes an SdJwt in combined format without key binding

Receiver

the SD-JWT to serialize

Return

the serialized format of the SD-JWT

Parameters

serializeJwt

a function to serialize the JWT

JWT

the type representing the JWT part of the SD-JWT